package com.xzh.wms.webselect;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;

//@WebListener
@Slf4j
public class MyListener implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        log.info("ServletRequestListener  requestDestroyed---- 请求完成时 结束监听 ----");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        log.info("ServletRequestListener  requestInitialized---- 请求处理时 开始监听 ----");
    }
}
